
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
	xmlns:camunda="http://camunda.org/schema/1.0/bpmn" targetNamespace="Examples">

	<process id="echoShellLinux" isExecutable="true">

		<startEvent id="theStart" />
		<sequenceFlow sourceRef="theStart" targetRef="shellEcho" />

		<serviceTask id="shellEcho" camunda:type="shell">
			<extensionElements>
				<camunda:field name="command" stringValue="echo" />
				<camunda:field name="arg1" stringValue="EchoTest" />
				<camunda:field name="outputVariable"  stringValue="resultVar" />
			</extensionElements>
		</serviceTask>
		
		<sequenceFlow sourceRef="shellEcho" targetRef="theTask" />
	    <userTask id="theTask" name="keep-alive task" />
		<sequenceFlow sourceRef="theTask" targetRef="theEnd" />

		<endEvent id="theEnd" />

	</process>

</definitions>
